import { Alert } from '@aws-amplify/ui-react'; You must render the `` UI component before using the `useAuthenticator` composable. `useAuthenticator` was designed to retrieve `` UI specific state such as `route` and `user` and should not be used without the UI component. ## useAuthenticator `@aws-amplify/ui-vue` ships with `useAuthenticator` Vue composable that can be used to access, modify, and update Authenticator's auth state. To use them, make sure the `` is present in the component or parent component: ```html ``` Note that the `auth` is an object wrapped with `reactive`, meaning there is no need to write `.value` after getters but, like `props` in `setup`, _we cannot destructure it:_ ```html ``` In order to extract properties from the authenticator while keeping its reactivity, you need to use `toRefs`. It will create refs for any reactive property: ```html ```